package org.jeecg.modules.farming.news.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.farming.news.entity.NewsCommentPraise;
import org.jeecg.modules.farming.news.entity.NewsPraise;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 新闻点赞用户表
 * @Author: jeecg-boot
 * @Date:   2020-12-14
 * @Version: V1.0
 */
public interface NewsPraiseMapper extends BaseMapper<NewsPraise> {
    NewsPraise getOneByOpenIdAndCommentId(@Param("openId") String openId, @Param("newsId") String newsId);
}
